Skip to content

cleanup(notification): sys.modules alias, drop 2,621 LOC of shadowed dead code#252

Open
ywatanabe1989 wants to merge 1 commit intodevelopfrom
cleanup/notification-sysmodules-alias
Open

cleanup(notification): sys.modules alias, drop 2,621 LOC of shadowed dead code#252
ywatanabe1989 wants to merge 1 commit intodevelopfrom
cleanup/notification-sysmodules-alias

Conversation

@ywatanabe1989
Copy link
Copy Markdown
Owner

Summary

Test plan

  • python -c "import scitex.notification as n; import scitex_notification as r; assert n is r" — passes
  • hasattr(scitex.notification, 'alert' / 'available_backends' / ...) — all present (delegated through alias)

…f shadowed dead code

The local src/scitex/notification/_backends/, _mcp/, mcp_server.py, _skills/
were duplicates already shadowed by `from scitex_notification import ...` in
__init__.py — never reachable at runtime. Replace the explicit re-export with
a sys.modules alias and delete the dead code.

scitex.notification is scitex_notification: True (verified)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant